i = 1
while i <= 9:
    for j in range(1, i+1): 
        print(f'{i}*{j}={i*j}', end=' ')
    i += 1
    print()